/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * InputPanel.java
 *
 * Created on Jan 31, 2012, 12:40:10 PM
 */
package com.iitbd.hxcalc;

import static com.iitbd.hxcalc.Resources.tr;
import static com.iitbd.hxcalc.Unit.*;
import java.awt.Component;
import java.awt.Desktop;
import java.awt.event.*;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JList;
import javax.swing.JTextField;
import javax.swing.plaf.basic.BasicComboBoxRenderer;

/**
 *
 * @author USER
 */
public class InputOutputPanel extends javax.swing.JPanel {

    String s = null;
    String[] unitFactor = Unit.HRUnitValue;
    int unitFrom = 0;
    Double unitValue;
    UnitConversion conversion = new UnitConversion();

    /**
     * Creates new form InputPanel
     */
    public InputOutputPanel() {
        toolTipsUnit = new ToolTipsAndUnit();
        toolTipsPressure = toolTipsUnit.getTipsPressure();
        toolTipsTemp = toolTipsUnit.getTipsTemp();
        toolTipsRatio = toolTipsUnit.getTipsRatio();
        toolTipsRH = toolTipsUnit.getTipsRH();
        toolTipsEnthalphy = toolTipsUnit.getTipsEnthalphy();
        toolTipsDensity = toolTipsUnit.getTipsDensity();
        toolTipsSHumidity = toolTipsUnit.getTipsSHumidity();
        extendedModel = toolTipsUnit.getExtended();
        gasList = toolTipsUnit.getGasList();
        humidityUnit = toolTipsUnit.gethumidityList();
        initComponents();
        setAllToolTips();//Set tools tips
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        btgInput = new javax.swing.ButtonGroup();
        btgOutput = new javax.swing.ButtonGroup();
        btgExtended = new javax.swing.ButtonGroup();
        jPanel4 = new javax.swing.JPanel();
        lbMsg = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jpOut3 = new javax.swing.JPanel();
        jLabel128 = new javax.swing.JLabel();
        jLabel129 = new javax.swing.JLabel();
        jLabel130 = new javax.swing.JLabel();
        jLabel131 = new javax.swing.JLabel();
        jLabel132 = new javax.swing.JLabel();
        jLabel133 = new javax.swing.JLabel();
        jLabel134 = new javax.swing.JLabel();
        jLabel135 = new javax.swing.JLabel();
        jLabel136 = new javax.swing.JLabel();
        jLabel137 = new javax.swing.JLabel();
        lb46 = new javax.swing.JLabel();
        lb47 = new javax.swing.JLabel();
        lb49 = new javax.swing.JLabel();
        lb45 = new javax.swing.JLabel();
        lb44 = new javax.swing.JLabel();
        lb43 = new javax.swing.JLabel();
        lb41 = new javax.swing.JLabel();
        lb39 = new javax.swing.JLabel();
        txtSttw0 = new javax.swing.JTextField(6);
        txtStti0 = new javax.swing.JTextField();
        txtStdf0 = new javax.swing.JTextField();
        txtStdf = new javax.swing.JTextField();
        txtSts = new javax.swing.JTextField();
        txtSttw = new javax.swing.JTextField();
        txtStti = new javax.swing.JTextField();
        txtFttptw = new javax.swing.JTextField();
        txtFttpti = new javax.swing.JTextField();
        txtFtsps = new javax.swing.JTextField();
        cmbSttw0 = new javax.swing.JComboBox();
        cmbStti0 = new javax.swing.JComboBox();
        cmbStdf0 = new javax.swing.JComboBox();
        cmbStdf = new javax.swing.JComboBox();
        cmbSts = new javax.swing.JComboBox();
        cmbSttw = new javax.swing.JComboBox();
        cmbStti = new javax.swing.JComboBox();
        lb50 = new javax.swing.JLabel();
        lb51 = new javax.swing.JLabel();
        lb52 = new javax.swing.JLabel();
        lb53 = new javax.swing.JLabel();
        lb54 = new javax.swing.JLabel();
        lb55 = new javax.swing.JLabel();
        lb56 = new javax.swing.JLabel();
        lb57 = new javax.swing.JLabel();
        lb58 = new javax.swing.JLabel();
        lb60 = new javax.swing.JLabel();
        jLabel156 = new javax.swing.JLabel();
        lb48 = new javax.swing.JLabel();
        txtFtdfpt = new javax.swing.JTextField();
        lb59 = new javax.swing.JLabel();
        lb40 = new javax.swing.JLabel();
        lb42 = new javax.swing.JLabel();
        jpOut1 = new javax.swing.JPanel();
        jLabel21 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jLabel24 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        lb6 = new javax.swing.JLabel();
        lb7 = new javax.swing.JLabel();
        lb8 = new javax.swing.JLabel();
        lb5 = new javax.swing.JLabel();
        lb4 = new javax.swing.JLabel();
        lb3 = new javax.swing.JLabel();
        lb2 = new javax.swing.JLabel();
        lb1 = new javax.swing.JLabel();
        txtTTemp = new javax.swing.JTextField(6);
        txtTPre = new javax.swing.JTextField();
        txtRHum = new javax.swing.JTextField();
        txtRHumW = new javax.swing.JTextField();
        txtDew = new javax.swing.JTextField();
        txtFrost = new javax.swing.JTextField();
        txtWetBulb = new javax.swing.JTextField();
        txtSHum = new javax.swing.JTextField();
        txtAbHum = new javax.swing.JTextField();
        txtEnt = new javax.swing.JTextField();
        cmbTTemp = new javax.swing.JComboBox();
        cmbTPre = new javax.swing.JComboBox();
        cmbRHum = new javax.swing.JComboBox();
        cmbRHumW = new javax.swing.JComboBox();
        cmbDew = new javax.swing.JComboBox();
        cmbFrost = new javax.swing.JComboBox();
        cmbWetBulb = new javax.swing.JComboBox();
        cmbSHum = new javax.swing.JComboBox();
        cmbAbHum = new javax.swing.JComboBox();
        cmbEnt = new javax.swing.JComboBox();
        lb9 = new javax.swing.JLabel();
        lb10 = new javax.swing.JLabel();
        lb11 = new javax.swing.JLabel();
        lb12 = new javax.swing.JLabel();
        lb13 = new javax.swing.JLabel();
        lb14 = new javax.swing.JLabel();
        lb15 = new javax.swing.JLabel();
        lb16 = new javax.swing.JLabel();
        lb17 = new javax.swing.JLabel();
        lb18 = new javax.swing.JLabel();
        jpOut2 = new javax.swing.JPanel();
        jLabel62 = new javax.swing.JLabel();
        jLabel63 = new javax.swing.JLabel();
        jLabel64 = new javax.swing.JLabel();
        jLabel65 = new javax.swing.JLabel();
        jLabel66 = new javax.swing.JLabel();
        jLabel74 = new javax.swing.JLabel();
        jLabel75 = new javax.swing.JLabel();
        jLabel77 = new javax.swing.JLabel();
        jLabel78 = new javax.swing.JLabel();
        jLabel79 = new javax.swing.JLabel();
        lb26 = new javax.swing.JLabel();
        lb27 = new javax.swing.JLabel();
        lb28 = new javax.swing.JLabel();
        lb25 = new javax.swing.JLabel();
        lb24 = new javax.swing.JLabel();
        lb23 = new javax.swing.JLabel();
        lb22 = new javax.swing.JLabel();
        lb21 = new javax.swing.JLabel();
        txtMrv = new javax.swing.JTextField(5);
        txtMrw = new javax.swing.JTextField();
        txtVv = new javax.swing.JTextField();
        txtVw = new javax.swing.JTextField();
        txtVmf = new javax.swing.JTextField();
        txtDamf = new javax.swing.JTextField();
        txtDd = new javax.swing.JTextField();
        txtMad = new javax.swing.JTextField();
        txtSp = new javax.swing.JTextField();
        txtSt = new javax.swing.JTextField();
        cmbMrv = new javax.swing.JComboBox();
        cmbMrw = new javax.swing.JComboBox();
        cmbVv = new javax.swing.JComboBox();
        cmbVw = new javax.swing.JComboBox();
        cmbVmf = new javax.swing.JComboBox();
        cmbDamf = new javax.swing.JComboBox();
        cmbDd = new javax.swing.JComboBox();
        cmbMad = new javax.swing.JComboBox();
        cmbSp = new javax.swing.JComboBox();
        cmbSt = new javax.swing.JComboBox();
        lb19 = new javax.swing.JLabel();
        lb30 = new javax.swing.JLabel();
        lb31 = new javax.swing.JLabel();
        lb32 = new javax.swing.JLabel();
        lb33 = new javax.swing.JLabel();
        lb34 = new javax.swing.JLabel();
        lb35 = new javax.swing.JLabel();
        lb36 = new javax.swing.JLabel();
        lb37 = new javax.swing.JLabel();
        lb38 = new javax.swing.JLabel();
        lb20 = new javax.swing.JLabel();
        lb29 = new javax.swing.JLabel();
        jpInput = new javax.swing.JPanel();
        jLabel61 = new javax.swing.JLabel();
        jLabel69 = new javax.swing.JLabel();
        jLabel72 = new javax.swing.JLabel();
        jLabel73 = new javax.swing.JLabel();
        txtTemp = new javax.swing.JTextField();
        txtPre = new javax.swing.JTextField();
        txtHum = new javax.swing.JTextField();
        cmbTemp = new javax.swing.JComboBox();
        cmbPre = new javax.swing.JComboBox();
        cmbUsed = new javax.swing.JComboBox();
        cmbHum = new javax.swing.JComboBox();
        lbTemp = new javax.swing.JLabel();
        lbPre = new javax.swing.JLabel();
        lbHum = new javax.swing.JLabel();
        jLabel102 = new javax.swing.JLabel();
        rdIce = new javax.swing.JRadioButton();
        rdWater = new javax.swing.JRadioButton();
        rdOIce = new javax.swing.JRadioButton();
        rdOWater = new javax.swing.JRadioButton();
        jPanel1 = new javax.swing.JPanel();
        btCalculate = new javax.swing.JButton();
        btWrite = new javax.swing.JButton();
        jpExtended = new javax.swing.JPanel();
        jLabel52 = new javax.swing.JLabel();
        jLabel55 = new javax.swing.JLabel();
        jLabel56 = new javax.swing.JLabel();
        txtSPre = new javax.swing.JTextField();
        txtSTemp = new javax.swing.JTextField(6);
        cmbSPre = new javax.swing.JComboBox();
        cmbSTemp = new javax.swing.JComboBox();
        lbSPre = new javax.swing.JLabel();
        lbSTemp = new javax.swing.JLabel();
        rdYes = new javax.swing.JRadioButton();
        rdNo = new javax.swing.JRadioButton();
        jpGas = new javax.swing.JPanel();
        jLabel67 = new javax.swing.JLabel();
        jLabel70 = new javax.swing.JLabel();
        jLabel100 = new javax.swing.JLabel();
        txtMassMolar = new javax.swing.JTextField(6);
        txtCap = new javax.swing.JTextField();
        txtBoil = new javax.swing.JTextField();
        cmbGas = new javax.swing.JComboBox();
        cmbBoil = new javax.swing.JComboBox();
        cmbCap = new javax.swing.JComboBox();
        jLabel117 = new javax.swing.JLabel();
        lbBoil = new javax.swing.JLabel();
        lbCap = new javax.swing.JLabel();
        jLabel103 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel15 = new javax.swing.JLabel();

        jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        lbMsg.setFont(new java.awt.Font("Dialog", 1, 15)); // NOI18N
        lbMsg.setForeground(java.awt.Color.red);
        lbMsg.setText(Resources.getString("normal mode"));

        jLabel3.setText(Resources.getString("Output File"));

        jLabel4.setText(Resources.getString("Input File"));

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addComponent(lbMsg, javax.swing.GroupLayout.PREFERRED_SIZE, 287, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel3)
                .addGap(119, 119, 119)
                .addComponent(jLabel4)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbMsg)
                    .addComponent(jLabel3)
                    .addComponent(jLabel4))
                .addContainerGap(20, Short.MAX_VALUE))
        );

        jpOut3.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jpOut3.setMinimumSize(new java.awt.Dimension(164, 252));
        java.awt.GridBagLayout jpOut3Layout = new java.awt.GridBagLayout();
        jpOut3Layout.columnWidths = new int[] {0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0};
        jpOut3Layout.rowHeights = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpOut3.setLayout(jpOut3Layout);

        jLabel128.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel128.setText(Resources.getString("SVP@Tt,w,0"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel128, gridBagConstraints);

        jLabel129.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel129.setText(Resources.getString("SVP@Tt,i,0"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel129, gridBagConstraints);

        jLabel130.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel130.setText(Resources.getString("SVP@Tdf,0"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel130, gridBagConstraints);

        jLabel131.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel131.setText(Resources.getString("SVP@Tdf"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel131, gridBagConstraints);

        jLabel132.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel132.setText(Resources.getString("SVP@Ts"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel132, gridBagConstraints);

        jLabel133.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel133.setText(Resources.getString("SVP@Tt,w"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel133, gridBagConstraints);

        jLabel134.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel134.setText(Resources.getString("SVP@Tt,i"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel134, gridBagConstraints);

        jLabel135.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel135.setText(Resources.getString("F@Tt,Pt,w"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel135, gridBagConstraints);

        jLabel136.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel136.setText(Resources.getString("F@Tt,Pt,i"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel136, gridBagConstraints);

        jLabel137.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel137.setText(Resources.getString("F@Tdf,Pt"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel137, gridBagConstraints);

        lb46.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb46.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb46, gridBagConstraints);

        lb47.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb47.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb47, gridBagConstraints);

        lb49.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb49.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb49, gridBagConstraints);

        lb45.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb45.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb45, gridBagConstraints);

        lb44.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb44.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lb44.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb44, gridBagConstraints);

        lb43.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb43.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb43, gridBagConstraints);

        lb41.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb41.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb41, gridBagConstraints);

        lb39.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb39.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb39, gridBagConstraints);

        txtSttw0.setEditable(false);
        txtSttw0.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSttw0.setText("1");
        txtSttw0.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtSttw0, gridBagConstraints);

        txtStti0.setEditable(false);
        txtStti0.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtStti0.setText("1");
        txtStti0.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtStti0, gridBagConstraints);

        txtStdf0.setEditable(false);
        txtStdf0.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtStdf0.setText("1");
        txtStdf0.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtStdf0, gridBagConstraints);

        txtStdf.setEditable(false);
        txtStdf.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtStdf.setText("1");
        txtStdf.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtStdf, gridBagConstraints);

        txtSts.setEditable(false);
        txtSts.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSts.setText("1");
        txtSts.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtSts, gridBagConstraints);

        txtSttw.setEditable(false);
        txtSttw.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSttw.setText("1");
        txtSttw.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtSttw, gridBagConstraints);

        txtStti.setEditable(false);
        txtStti.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtStti.setText("1");
        txtStti.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtStti, gridBagConstraints);

        txtFttptw.setEditable(false);
        txtFttptw.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtFttptw.setText("1");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtFttptw, gridBagConstraints);

        txtFttpti.setEditable(false);
        txtFttpti.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtFttpti.setText("1");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtFttpti, gridBagConstraints);

        txtFtsps.setEditable(false);
        txtFtsps.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtFtsps.setText("1");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtFtsps, gridBagConstraints);

        cmbSttw0.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSttw0.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbSttw0.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbSttw0.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(cmbSttw0, gridBagConstraints);

        cmbStti0.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbStti0.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbStti0.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbStti0.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(cmbStti0, gridBagConstraints);

        cmbStdf0.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbStdf0.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbStdf0.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbStdf0.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(cmbStdf0, gridBagConstraints);

        cmbStdf.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbStdf.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbStdf.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbStdf.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(cmbStdf, gridBagConstraints);

        cmbSts.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSts.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbSts.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbSts.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(cmbSts, gridBagConstraints);

        cmbSttw.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSttw.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbSttw.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbSttw.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(cmbSttw, gridBagConstraints);

        cmbStti.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbStti.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbStti.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbStti.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(cmbStti, gridBagConstraints);

        lb50.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb50.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb50, gridBagConstraints);

        lb51.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb51.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lb51.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb51, gridBagConstraints);

        lb52.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb52.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb52, gridBagConstraints);

        lb53.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb53.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb53, gridBagConstraints);

        lb54.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb54.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb54, gridBagConstraints);

        lb55.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb55.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb55, gridBagConstraints);

        lb56.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb56.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb56, gridBagConstraints);

        lb57.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb57.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb57, gridBagConstraints);

        lb58.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb58.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb58, gridBagConstraints);

        lb60.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb60.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 20;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb60, gridBagConstraints);

        jLabel156.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel156.setText(Resources.getString("F@Tdf,Pt"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.ipadx = 68;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 7);
        jpOut3.add(jLabel156, gridBagConstraints);

        lb48.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb48.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb48, gridBagConstraints);

        txtFtdfpt.setEditable(false);
        txtFtdfpt.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtFtdfpt.setText("1");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 5, 0, 3);
        jpOut3.add(txtFtdfpt, gridBagConstraints);

        lb59.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb59.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb59, gridBagConstraints);

        lb40.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb40.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb40, gridBagConstraints);

        lb42.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb42.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.ipadx = 1;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 2, 0, 0);
        jpOut3.add(lb42, gridBagConstraints);

        jpOut1.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jpOut1.setMinimumSize(new java.awt.Dimension(164, 252));
        jpOut1.setPreferredSize(new java.awt.Dimension(171, 252));
        java.awt.GridBagLayout jpOut1Layout = new java.awt.GridBagLayout();
        jpOut1Layout.columnWidths = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpOut1Layout.rowHeights = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpOut1.setLayout(jpOut1Layout);

        jLabel21.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel21.setText(Resources.getString("Test Temperature"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel21, gridBagConstraints);

        jLabel22.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel22.setText(Resources.getString("Test Pressure"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel22, gridBagConstraints);

        jLabel23.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel23.setText(Resources.getString("Relative Humidity"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel23, gridBagConstraints);

        jLabel24.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel24.setText(Resources.getString("Relative Humidity WMO"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel24, gridBagConstraints);

        jLabel25.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel25.setText(Resources.getString("Dewpoint"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel25, gridBagConstraints);

        jLabel26.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel26.setText(Resources.getString("Frostpunkt Taupunkt"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel26, gridBagConstraints);

        jLabel27.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel27.setText(Resources.getString("Wet Bulb Temperature"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel27, gridBagConstraints);

        jLabel28.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel28.setText(Resources.getString("Specific Humidity"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel28, gridBagConstraints);

        jLabel29.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel29.setText(Resources.getString("Absolute Humidity"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel29, gridBagConstraints);

        jLabel30.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel30.setText(Resources.getString("Enthalphy"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpOut1.add(jLabel30, gridBagConstraints);

        lb6.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lb6.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb6, gridBagConstraints);

        lb7.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb7.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb7, gridBagConstraints);

        lb8.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb8.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb8, gridBagConstraints);

        lb5.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb5.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb5, gridBagConstraints);

        lb4.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb4.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb4, gridBagConstraints);

        lb3.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb3.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb3, gridBagConstraints);

        lb2.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb2.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb2, gridBagConstraints);

        lb1.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb1.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(lb1, gridBagConstraints);

        txtTTemp.setEditable(false);
        txtTTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtTTemp.setText("1");
        txtTTemp.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtTTemp, gridBagConstraints);

        txtTPre.setEditable(false);
        txtTPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtTPre.setText("1");
        txtTPre.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtTPre, gridBagConstraints);

        txtRHum.setEditable(false);
        txtRHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtRHum.setText("1");
        txtRHum.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtRHum, gridBagConstraints);

        txtRHumW.setEditable(false);
        txtRHumW.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtRHumW.setText("1");
        txtRHumW.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtRHumW, gridBagConstraints);

        txtDew.setEditable(false);
        txtDew.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtDew.setText("1");
        txtDew.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtDew, gridBagConstraints);

        txtFrost.setEditable(false);
        txtFrost.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtFrost.setText("1");
        txtFrost.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtFrost, gridBagConstraints);

        txtWetBulb.setEditable(false);
        txtWetBulb.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtWetBulb.setText("1");
        txtWetBulb.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtWetBulb, gridBagConstraints);

        txtSHum.setEditable(false);
        txtSHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSHum.setText("1");
        txtSHum.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtSHum, gridBagConstraints);

        txtAbHum.setEditable(false);
        txtAbHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtAbHum.setText("1");
        txtAbHum.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtAbHum, gridBagConstraints);

        txtEnt.setEditable(false);
        txtEnt.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtEnt.setText("1");
        txtEnt.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut1.add(txtEnt, gridBagConstraints);

        cmbTTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbTTemp.setModel(new javax.swing.DefaultComboBoxModel(tempUnit));
        cmbTTemp.setRenderer(new ComboBoxRenderer(toolTipsTemp));
        cmbTTemp.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbTTemp, gridBagConstraints);

        cmbTPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbTPre.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbTPre.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbTPre.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbTPre, gridBagConstraints);

        cmbRHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbRHum.setModel(new javax.swing.DefaultComboBoxModel(HRUnit));
        cmbRHum.setRenderer(new ComboBoxRenderer(toolTipsRH));
        cmbRHum.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbRHum, gridBagConstraints);

        cmbRHumW.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbRHumW.setModel(new javax.swing.DefaultComboBoxModel(HRUnit));
        cmbRHumW.setRenderer(new ComboBoxRenderer(toolTipsRH));
        cmbRHumW.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbRHumW, gridBagConstraints);

        cmbDew.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbDew.setModel(new javax.swing.DefaultComboBoxModel(tempUnit));
        cmbDew.setRenderer(new ComboBoxRenderer(toolTipsTemp));
        cmbDew.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbDew, gridBagConstraints);

        cmbFrost.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbFrost.setModel(new javax.swing.DefaultComboBoxModel(tempUnit));
        cmbFrost.setRenderer(new ComboBoxRenderer(toolTipsTemp));
        cmbFrost.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbFrost, gridBagConstraints);

        cmbWetBulb.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbWetBulb.setModel(new javax.swing.DefaultComboBoxModel(tempUnit));
        cmbWetBulb.setRenderer(new ComboBoxRenderer(toolTipsTemp));
        cmbWetBulb.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbWetBulb, gridBagConstraints);

        cmbSHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSHum.setModel(new javax.swing.DefaultComboBoxModel(sHumidityUnit));
        cmbSHum.setRenderer(new ComboBoxRenderer(toolTipsSHumidity));
        cmbSHum.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbSHum, gridBagConstraints);

        cmbAbHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbAbHum.setModel(new javax.swing.DefaultComboBoxModel(densityUnit));
        cmbAbHum.setRenderer(new ComboBoxRenderer(toolTipsDensity));
        cmbAbHum.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbAbHum, gridBagConstraints);

        cmbEnt.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbEnt.setModel(new javax.swing.DefaultComboBoxModel(enthlphyUnit));
        cmbEnt.setRenderer(new ComboBoxRenderer(toolTipsEnthalphy));
        cmbEnt.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut1.add(cmbEnt, gridBagConstraints);

        lb9.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lb9.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb9, gridBagConstraints);

        lb10.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb10.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb10, gridBagConstraints);

        lb11.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb11.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb11, gridBagConstraints);

        lb12.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb12.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb12, gridBagConstraints);

        lb13.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb13.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb13, gridBagConstraints);

        lb14.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb14.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb14, gridBagConstraints);

        lb15.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb15.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb15, gridBagConstraints);

        lb16.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb16.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb16, gridBagConstraints);

        lb17.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb17.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb17, gridBagConstraints);

        lb18.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb18.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut1.add(lb18, gridBagConstraints);

        jpOut2.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        jpOut2.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        java.awt.GridBagLayout jpOut2Layout = new java.awt.GridBagLayout();
        jpOut2Layout.columnWidths = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpOut2Layout.rowHeights = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpOut2.setLayout(jpOut2Layout);

        jLabel62.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel62.setText(Resources.getString("Mixing Ratio Volume"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel62, gridBagConstraints);

        jLabel63.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel63.setText(Resources.getString("Mixing Ratio Weight"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel63, gridBagConstraints);

        jLabel64.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel64.setText(Resources.getString("Vapour By Volume"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel64, gridBagConstraints);

        jLabel65.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel65.setText(Resources.getString("Vapour By Weight"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel65, gridBagConstraints);

        jLabel66.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel66.setText(Resources.getString("Vapour Mole Fraction"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel66, gridBagConstraints);

        jLabel74.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel74.setText(Resources.getString("Dry Air Mole Fraction"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel74, gridBagConstraints);

        jLabel75.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel75.setText(Resources.getString("Dry Air Density"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel75, gridBagConstraints);

        jLabel77.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel77.setText(Resources.getString("Moist Air Density"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(jLabel77, gridBagConstraints);

        jLabel78.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel78.setText(Resources.getString("Saturation Pressure"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel78, gridBagConstraints);

        jLabel79.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel79.setText(Resources.getString("Saturation Temperature"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpOut2.add(jLabel79, gridBagConstraints);

        lb26.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb26.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lb26.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb26, gridBagConstraints);

        lb27.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb27.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb27, gridBagConstraints);

        lb28.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb28.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb28, gridBagConstraints);

        lb25.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb25.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb25, gridBagConstraints);

        lb24.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb24.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb24, gridBagConstraints);

        lb23.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb23.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb23, gridBagConstraints);

        lb22.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb22.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb22, gridBagConstraints);

        lb21.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb21.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb21, gridBagConstraints);

        txtMrv.setEditable(false);
        txtMrv.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtMrv.setText("1");
        txtMrv.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtMrv, gridBagConstraints);

        txtMrw.setEditable(false);
        txtMrw.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtMrw.setText("1");
        txtMrw.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtMrw, gridBagConstraints);

        txtVv.setEditable(false);
        txtVv.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtVv.setText("1");
        txtVv.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtVv, gridBagConstraints);

        txtVw.setEditable(false);
        txtVw.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtVw.setText("1");
        txtVw.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtVw, gridBagConstraints);

        txtVmf.setEditable(false);
        txtVmf.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtVmf.setText("1");
        txtVmf.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtVmf, gridBagConstraints);

        txtDamf.setEditable(false);
        txtDamf.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtDamf.setText("1");
        txtDamf.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtDamf, gridBagConstraints);

        txtDd.setEditable(false);
        txtDd.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtDd.setText("1");
        txtDd.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtDd, gridBagConstraints);

        txtMad.setEditable(false);
        txtMad.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtMad.setText("1");
        txtMad.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtMad, gridBagConstraints);

        txtSp.setEditable(false);
        txtSp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSp.setText("1");
        txtSp.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtSp, gridBagConstraints);

        txtSt.setEditable(false);
        txtSt.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSt.setText("1");
        txtSt.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpOut2.add(txtSt, gridBagConstraints);

        cmbMrv.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbMrv.setModel(new javax.swing.DefaultComboBoxModel(ratioUnit));
        cmbMrv.setRenderer(new ComboBoxRenderer(toolTipsRatio));
        cmbMrv.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbMrv, gridBagConstraints);

        cmbMrw.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbMrw.setModel(new javax.swing.DefaultComboBoxModel(ratioUnit));
        cmbMrw.setRenderer(new ComboBoxRenderer(toolTipsRatio));
        cmbMrw.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbMrw, gridBagConstraints);

        cmbVv.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbVv.setModel(new javax.swing.DefaultComboBoxModel(ratioUnit));
        cmbVv.setRenderer(new ComboBoxRenderer(toolTipsRatio));
        cmbVv.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbVv, gridBagConstraints);

        cmbVw.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbVw.setModel(new javax.swing.DefaultComboBoxModel(ratioUnit));
        cmbVw.setRenderer(new ComboBoxRenderer(toolTipsRatio));
        cmbVw.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbVw, gridBagConstraints);

        cmbVmf.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbVmf.setModel(new javax.swing.DefaultComboBoxModel(ratioUnit));
        cmbVmf.setRenderer(new ComboBoxRenderer(toolTipsRatio));
        cmbVmf.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbVmf, gridBagConstraints);

        cmbDamf.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbDamf.setModel(new javax.swing.DefaultComboBoxModel(ratioUnit));
        cmbDamf.setRenderer(new ComboBoxRenderer(toolTipsRatio));
        cmbDamf.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbDamf, gridBagConstraints);

        cmbDd.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbDd.setModel(new javax.swing.DefaultComboBoxModel(densityUnit));
        cmbDd.setRenderer(new ComboBoxRenderer(toolTipsDensity));
        cmbDd.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbDd, gridBagConstraints);

        cmbMad.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbMad.setModel(new javax.swing.DefaultComboBoxModel(densityUnit));
        cmbMad.setRenderer(new ComboBoxRenderer(toolTipsDensity));
        cmbMad.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbMad, gridBagConstraints);

        cmbSp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSp.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbSp.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbSp.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbSp, gridBagConstraints);

        cmbSt.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSt.setModel(new javax.swing.DefaultComboBoxModel(tempUnit));
        cmbSt.setRenderer(new ComboBoxRenderer(toolTipsTemp));
        cmbSt.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(cmbSt, gridBagConstraints);

        lb19.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb19.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lb19.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb19, gridBagConstraints);

        lb30.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb30.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb30, gridBagConstraints);

        lb31.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb31.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb31, gridBagConstraints);

        lb32.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb32.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb32, gridBagConstraints);

        lb33.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb33.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb33, gridBagConstraints);

        lb34.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb34.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb34, gridBagConstraints);

        lb35.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb35.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb35, gridBagConstraints);

        lb36.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb36.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb36, gridBagConstraints);

        lb37.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb37.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 16;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb37, gridBagConstraints);

        lb38.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb38.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 18;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb38, gridBagConstraints);

        lb20.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb20.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpOut2.add(lb20, gridBagConstraints);

        lb29.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lb29.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lb29.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpOut2.add(lb29, gridBagConstraints);

        jpInput.setBorder(javax.swing.BorderFactory.createTitledBorder(Resources.getString("Input Values")));
        java.awt.GridBagLayout jpInputLayout = new java.awt.GridBagLayout();
        jpInputLayout.columnWidths = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpInputLayout.rowHeights = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpInput.setLayout(jpInputLayout);

        jLabel61.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel61.setText(Resources.getString("Temperature"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.ipadx = 32;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpInput.add(jLabel61, gridBagConstraints);

        jLabel69.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel69.setText(Resources.getString("Pressure"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.ipadx = 32;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpInput.add(jLabel69, gridBagConstraints);

        jLabel72.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel72.setText(Resources.getString("Used Value"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.ipadx = 32;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpInput.add(jLabel72, gridBagConstraints);

        jLabel73.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel73.setText(Resources.getString("Output Values"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.ipadx = 32;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        jpInput.add(jLabel73, gridBagConstraints);

        txtTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtTemp.setText("1");
        txtTemp.setToolTipText(Resources.getString("tips.TestTemperature"));
        txtTemp.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 3);
        jpInput.add(txtTemp, gridBagConstraints);

        txtPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtPre.setToolTipText(Resources.getString("tips.TestPressure"));
        txtPre.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 3);
        jpInput.add(txtPre, gridBagConstraints);

        txtHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtHum.setToolTipText(Resources.getString("tips.RelativeHumidity"));
        txtHum.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 3);
        jpInput.add(txtHum, gridBagConstraints);

        cmbTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbTemp.setModel(new javax.swing.DefaultComboBoxModel(tempUnit));
        cmbTemp.addItemListener(new ComboBoxItemHandler());
        cmbTemp.setRenderer(new ComboBoxRenderer(toolTipsTemp));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 14;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        jpInput.add(cmbTemp, gridBagConstraints);

        cmbPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbPre.setModel(new javax.swing.DefaultComboBoxModel(preUnit));
        cmbPre.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbPre.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 14;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        jpInput.add(cmbPre, gridBagConstraints);

        cmbUsed.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbUsed.setModel(new javax.swing.DefaultComboBoxModel(humidityUnit));
        cmbUsed.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 8;
        gridBagConstraints.gridwidth = 3;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 10;
        gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 0);
        jpInput.add(cmbUsed, gridBagConstraints);

        cmbHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.HRUnit));
        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsRH));
        cmbHum.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 14;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        jpInput.add(cmbHum, gridBagConstraints);

        lbTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lbTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lbTemp.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 18;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 5);
        jpInput.add(lbTemp, gridBagConstraints);

        lbPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lbPre.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 18;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 5);
        jpInput.add(lbPre, gridBagConstraints);

        lbHum.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lbHum.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 18;
        gridBagConstraints.gridy = 10;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 5);
        jpInput.add(lbHum, gridBagConstraints);

        jLabel102.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel102.setText(Resources.getString("Input Values"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.ipadx = 32;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        jpInput.add(jLabel102, gridBagConstraints);

        btgInput.add(rdIce);
        rdIce.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        rdIce.setText(Resources.getString("Over Ice"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 12;
        gridBagConstraints.ipadx = 2;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 0);
        jpInput.add(rdIce, gridBagConstraints);

        btgInput.add(rdWater);
        rdWater.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        rdWater.setText(Resources.getString("Over Water"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 14;
        gridBagConstraints.gridy = 12;
        jpInput.add(rdWater, gridBagConstraints);

        btgOutput.add(rdOIce);
        rdOIce.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        rdOIce.setText(Resources.getString("Over Ice"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 14;
        gridBagConstraints.ipadx = 2;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 0);
        jpInput.add(rdOIce, gridBagConstraints);

        btgOutput.add(rdOWater);
        rdOWater.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        rdOWater.setText(Resources.getString("Over Water"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 14;
        gridBagConstraints.gridy = 14;
        jpInput.add(rdOWater, gridBagConstraints);

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
        java.awt.GridBagLayout jPanel1Layout = new java.awt.GridBagLayout();
        jPanel1Layout.columnWidths = new int[] {0, 3, 0};
        jPanel1Layout.rowHeights = new int[] {0};
        jPanel1.setLayout(jPanel1Layout);

        btCalculate.setText(Resources.getString("Calculate"));
        btCalculate.addActionListener(new ButtonHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jPanel1.add(btCalculate, gridBagConstraints);

        btWrite.setText(Resources.getString("btn.write"));
        btWrite.addActionListener(new ButtonHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jPanel1.add(btWrite, gridBagConstraints);

        jpExtended.setBorder(javax.swing.BorderFactory.createTitledBorder(Resources.getString("Extended Mode")));
        jpExtended.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        java.awt.GridBagLayout jpExtendedLayout = new java.awt.GridBagLayout();
        jpExtendedLayout.columnWidths = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpExtendedLayout.rowHeights = new int[] {0, 3, 0, 3, 0};
        jpExtended.setLayout(jpExtendedLayout);

        jLabel52.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel52.setText(Resources.getString("2nd Pressure"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 31);
        jpExtended.add(jLabel52, gridBagConstraints);

        jLabel55.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel55.setText(Resources.getString("2nd Temperature"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 31);
        jpExtended.add(jLabel55, gridBagConstraints);

        jLabel56.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel56.setText(Resources.getString("Use Extended Mode"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 31);
        jpExtended.add(jLabel56, gridBagConstraints);

        txtSPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSPre.setText("1");
        txtSPre.setEnabled(false);
        txtSPre.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpExtended.add(txtSPre, gridBagConstraints);

        txtSTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtSTemp.setText("1");
        txtSTemp.setEnabled(false);
        txtSTemp.addFocusListener(new TextBoxFocusHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpExtended.add(txtSTemp, gridBagConstraints);

        cmbSPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSPre.setModel(new javax.swing.DefaultComboBoxModel(Unit.preUnit));
        cmbSPre.setEnabled(false);
        cmbSPre.setRenderer(new ComboBoxRenderer(toolTipsPressure));
        cmbSPre.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpExtended.add(cmbSPre, gridBagConstraints);

        cmbSTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbSTemp.setModel(new javax.swing.DefaultComboBoxModel(Unit.tempUnit));
        cmbSTemp.setEnabled(false);
        cmbSTemp.setRenderer(new ComboBoxRenderer(toolTipsTemp));
        cmbSTemp.addItemListener(new ComboBoxItemHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpExtended.add(cmbSTemp, gridBagConstraints);

        lbSPre.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lbSPre.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpExtended.add(lbSPre, gridBagConstraints);

        lbSTemp.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lbSTemp.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 12;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpExtended.add(lbSTemp, gridBagConstraints);

        btgExtended.add(rdYes);
        rdYes.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        rdYes.setText(Resources.getString("Yes"));
        rdYes.addItemListener(new RadioButtonHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 6;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 0, 3);
        jpExtended.add(rdYes, gridBagConstraints);

        btgExtended.add(rdNo);
        rdNo.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        rdNo.setText(Resources.getString("No"));
        rdNo.addItemListener(new RadioButtonHandler());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        jpExtended.add(rdNo, gridBagConstraints);

        jpGas.setBorder(javax.swing.BorderFactory.createTitledBorder(Resources.getString("Carrier Gas")));
        jpGas.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        java.awt.GridBagLayout jpGasLayout = new java.awt.GridBagLayout();
        jpGasLayout.columnWidths = new int[] {0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0};
        jpGasLayout.rowHeights = new int[] {0, 3, 0, 3, 0, 3, 0};
        jpGas.setLayout(jpGasLayout);

        jLabel67.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel67.setText(Resources.getString("Carrier Gas"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 5;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpGas.add(jLabel67, gridBagConstraints);

        jLabel70.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel70.setText(Resources.getString("Molar Mass"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridwidth = 5;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpGas.add(jLabel70, gridBagConstraints);

        jLabel100.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel100.setText(Resources.getString("Specific Heat Capacity"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.gridwidth = 5;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpGas.add(jLabel100, gridBagConstraints);

        txtMassMolar.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtMassMolar.setEnabled(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 9);
        jpGas.add(txtMassMolar, gridBagConstraints);

        txtCap.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtCap.setEnabled(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.insets = new java.awt.Insets(0, 1, 0, 9);
        jpGas.add(txtCap, gridBagConstraints);

        txtBoil.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        txtBoil.setEnabled(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.insets = new java.awt.Insets(0, 1, 0, 9);
        jpGas.add(txtBoil, gridBagConstraints);

        cmbGas.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbGas.setModel(new javax.swing.DefaultComboBoxModel(gasList));
        cmbGas.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                cmbGasItemStateChanged(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 6;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 5;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        jpGas.add(cmbGas, gridBagConstraints);

        cmbBoil.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbBoil.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Ite", "Ite", "Ite", "Ite" }));
        cmbBoil.setEnabled(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        jpGas.add(cmbBoil, gridBagConstraints);

        cmbCap.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        cmbCap.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "kg" }));
        cmbCap.setEnabled(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 10;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 9;
        jpGas.add(cmbCap, gridBagConstraints);

        jLabel117.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel117.setText("kg/mol");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 8;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 4;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
        jpGas.add(jLabel117, gridBagConstraints);

        lbBoil.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lbBoil.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png"))); // NOI18N
        lbBoil.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 24;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpGas.add(lbBoil, gridBagConstraints);

        lbCap.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        lbCap.setBorder(null);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 24;
        gridBagConstraints.gridy = 4;
        gridBagConstraints.insets = new java.awt.Insets(0, 3, 0, 0);
        jpGas.add(lbCap, gridBagConstraints);

        jLabel103.setFont(new java.awt.Font("Dialog", 0, 11)); // NOI18N
        jLabel103.setText(Resources.getString("Boiling Point"));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 6;
        gridBagConstraints.gridwidth = 5;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.ipadx = 50;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_START;
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 7);
        jpGas.add(jLabel103, gridBagConstraints);

        jPanel6.setBorder(javax.swing.BorderFactory.createTitledBorder(""));

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/LogoMain.jpg"))); // NOI18N

        jLabel2.setFont(new java.awt.Font("Dialog", 1, 24)); // NOI18N
        jLabel2.setForeground(new java.awt.Color(36, 86, 149));
        jLabel2.setText("<html>hx  "+Resources.getString("programName")+"</html>");

        jLabel8.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel8.setForeground(new java.awt.Color(36, 86, 149));
        jLabel8.setText(Resources.getString("Version"));

        jLabel9.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel9.setForeground(new java.awt.Color(36, 86, 149));
        jLabel9.setText(Resources.getString("build"));

        jLabel11.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel11.setForeground(new java.awt.Color(36, 86, 149));
        jLabel11.setText(Resources.getString("add1"));

        jLabel10.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel10.setForeground(new java.awt.Color(36, 86, 149));
        jLabel10.setText(Resources.getString("add2"));

        jLabel12.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel12.setForeground(new java.awt.Color(36, 86, 149));
        jLabel12.setText(Resources.getString("add3"));

        jLabel13.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel13.setForeground(new java.awt.Color(36, 86, 149));
        jLabel13.setText(Resources.getString("web"));
        jLabel13.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        jLabel13.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jLabel13MouseClicked(evt);
            }
        });

        jLabel14.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel14.setForeground(new java.awt.Color(36, 86, 149));
        jLabel14.setText(Resources.getString("technical support"));

        jLabel15.setFont(new java.awt.Font("Dialog", 1, 12)); // NOI18N
        jLabel15.setForeground(new java.awt.Color(36, 86, 149));
        jLabel15.setText(Resources.getString("Email"));
        jLabel15.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        jLabel15.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jLabel15MouseClicked(evt);
            }
        });

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addGap(12, 12, 12)
                .addComponent(jLabel1)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel6Layout.createSequentialGroup()
                        .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel6Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jPanel6Layout.createSequentialGroup()
                                .addGap(12, 12, 12)
                                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jPanel6Layout.createSequentialGroup()
                                .addGap(12, 12, 12)
                                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addGroup(jPanel6Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel2)))
                        .addContainerGap(24, Short.MAX_VALUE))
                    .addGroup(jPanel6Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addGap(9, 9, 9)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel1)
                    .addGroup(jPanel6Layout.createSequentialGroup()
                        .addComponent(jLabel2)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel8)
                        .addGap(5, 5, 5)
                        .addComponent(jLabel9)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel10)
                        .addGap(5, 5, 5)
                        .addComponent(jLabel12)
                        .addGap(5, 5, 5)
                        .addComponent(jLabel13)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel15, javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup()
                                .addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addContainerGap())))))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jpOut1, javax.swing.GroupLayout.PREFERRED_SIZE, 385, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jpInput, javax.swing.GroupLayout.PREFERRED_SIZE, 385, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, 385, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jpOut2, javax.swing.GroupLayout.PREFERRED_SIZE, 441, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jpExtended, javax.swing.GroupLayout.PREFERRED_SIZE, 441, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jpGas, javax.swing.GroupLayout.PREFERRED_SIZE, 441, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jpOut3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addComponent(jPanel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(0, 14, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jpInput, javax.swing.GroupLayout.PREFERRED_SIZE, 204, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jpExtended, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jpGas, javax.swing.GroupLayout.PREFERRED_SIZE, 142, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jpOut2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jpOut3, javax.swing.GroupLayout.PREFERRED_SIZE, 318, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jpOut1, javax.swing.GroupLayout.PREFERRED_SIZE, 318, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(0, 11, Short.MAX_VALUE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(178, 178, 178))
        );
    }// </editor-fold>//GEN-END:initComponents

    public void setTextValue() {
        //txtPre.setText(""+);
    }

    public class ButtonHandler implements ActionListener {

        @Override
        public void actionPerformed(ActionEvent ae) {
            JButton jb = (JButton) ae.getSource();
            if (jb == btCalculate) {

//                float inTemp = Float.parseFloat(txtTemp.getText());
////                byte stInTemp = (byte) cmbTemp.getSelectedIndex();
//                byte stInTemp = 1;
//                float inPre = Float.parseFloat(txtPre.getText());
////                byte stInPre = (byte) cmbPre.getSelectedIndex();
//                byte stInPre = 1;
//                CLibrary.Hx_InTP intp = new CLibrary.Hx_InTP(inTemp, stInTemp, inPre, stInPre);
                CLibrary.Hx_InTP intp = new CLibrary.Hx_InTP(1, (byte) 1, 1, (byte) 1);

//                float inHumVal = Float.parseFloat(txtHum.getText());
//                byte stInHumVal = 1;
////                byte stInHumVal = (byte) cmbHum.getSelectedIndex();
//                CLibrary.Hx_InH inh = new CLibrary.Hx_InH(inHumVal, stInHumVal);
                CLibrary.Hx_InH inh = new CLibrary.Hx_InH(1, (byte) 1);

//                float inTemp2 = Float.parseFloat(txtSTemp.getText());
////                byte stInTemp2 = (byte) cmbSTemp.getSelectedIndex();
//                byte stInTemp2 = 1;
//                float inPre2 = Float.parseFloat(txtSPre.getText());
////                byte stInPre2 = (byte) cmbSPre.getSelectedIndex();
//                byte stInPre2 = 1;
//                CLibrary.Hx_InSat insat = new CLibrary.Hx_InSat(inTemp2, stInTemp2, inPre2, stInPre2);
                CLibrary.Hx_InSat insat = new CLibrary.Hx_InSat(1, (byte) 1, 1, (byte) 1);
                
                int useSetpPressure = 1;
                int useSetpTemp = 1;
                int useSetpHumidity = 1;
                int useSetpPressure2 = 0;
                int useSetpTemp2 = 0;
                if (rdYes.isSelected()){
                    useSetpPressure2 = 1;
                    useSetpTemp2 = 1;
                }
                

                float setpPressure = 101325;
                float setpTemp = 296.16f;
                float setpHumidity = 51.23f / 100;
                float setpPressure2 = 101325f;
                float setpTemp2 = 286.6944f;
//                float setpPressure = Float.parseFloat(txtPre.getText());
//                float setpTemp = Float.parseFloat(txtTemp.getText());
//                float setpHumidity = Float.parseFloat(txtHum.getText());
//                float setpPressure2 = Float.parseFloat(txtSPre.getText());
//                float setpTemp2 = Float.parseFloat(txtSTemp.getText());
                
                CLibrary.Hx_InSetpoint insetpoint = new CLibrary.Hx_InSetpoint(useSetpPressure, useSetpTemp,
                        useSetpHumidity, useSetpPressure2,
                        useSetpTemp2, setpPressure, setpTemp, setpHumidity, setpPressure2, setpTemp2);

                int CarrierGasSelector = 1;
                int CarrierGas = 0;
                float MmC = 1.16f;
                float BpTempC = 51.73f;
                float cpC = 127.13f;
                String pCarrierName = "DryAir";
                
//                int selectedIndex = cmbGas.getSelectedIndex();
//                int CarrierGasSelector = 1;
//                int CarrierGas = 0;
//                float MmC = Float.parseFloat(txtMassMolar.getText());
//                float BpTempC = Float.parseFloat(txtBoil.getText());
//                float cpC = Float.parseFloat(txtCap.getText());
//                String pCarrierName = cmbGas.;
                
                CLibrary.Hx_InGas ingas = new CLibrary.Hx_InGas(CarrierGasSelector, CarrierGas, MmC,
                        BpTempC, cpC, pCarrierName);


                int InInputValue = 1;
                int InWaterIce = 1;
                int InModus = 3;
                CLibrary.Hx_InCon incon = new CLibrary.Hx_InCon(InInputValue, InWaterIce, InModus);
                CLibrary.Hx_Out out = new CLibrary.Hx_Out(1, (byte) 1, 1, (byte) 1,
                        1, (byte) 1, 1, (byte) 1, 1, (byte) 1, 1, (byte) 1,
                        1, (byte) 1, 1, (byte) 1, 1, (byte) 1, 1, (byte) 1,
                        1, (byte) 1, 1, (byte) 1, 1, (byte) 1, 1, (byte) 1,
                        1, (byte) 1, 1, (byte) 1, 1, (byte) 1, 1, (byte) 1,
                        1, (byte) 1, 1, (byte) 1);


                CLibrary.Hx_OutCon outcon = new CLibrary.Hx_OutCon(1);
                CLibrary.Hx_Tmp tmp = new CLibrary.Hx_Tmp(1, 1, 1, 1, 1, 1, 1, 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1, (byte) 1);

                CLibrary.Hx_OutSat outsat = new CLibrary.Hx_OutSat(1, (byte) 1, 1, (byte) 1, 1, (byte) 1);
                CLibrary.Hx_MSt mst = new CLibrary.Hx_MSt((byte) 1);

                System.out.println(out);
//                CLibrary.calculate_Hx(intp, inh, insat, insetpoint, ingas, incon, out, dbgch, errors, outsat, mst);
                CLibrary.calculate_Hx(intp, inh, insat, insetpoint, ingas, incon, out, tmp, outsat, mst);
//                CLibrary.helloworld();
//                System.out.println(ingas.pCarrierName);
                System.out.println(out);
                txtRHum.setText(out.OutRh + "");
                txtRHumW.setText(out.OutRhWmo + "");
                txtDew.setText(out.OutDp + "");
                txtFrost.setText(out.OutFp + "");
                txtMrv.setText(out.OutPpmV + "");
                txtMrw.setText(out.OutPpmW + "");
                txtEnt.setText(out.OutEnth + "");
                txtSHum.setText(out.OutSpecHum + "");
                txtAbHum.setText(out.OutAbsHum + "");
                txtDd.setText(out.OutDryAirDen + "");
                txtMad.setText(out.OutMoistAirDen + "");
                txtWetBulb.setText(out.OutWbt + "");
                txtVv.setText(out.OutPercByVol + "");
                txtVw.setText(out.OutPercByWight + "");
                txtVmf.setText(out.OutVapMoleFrc + "");
                txtDamf.setText(out.OutDryAirMoleFrc + "");
                txtSHum.setText(out.OutGrasLb + "");
                txtSttw.setText(out.OutSvpTtw + "");
                txtStti.setText(out.OutSvpTti + "");
                txtStdf.setText(out.OutSvpTdf + "");
                
                System.out.println(outsat);
                txtSPre.setText(outsat.OutSatPress + "");
                txtSTemp.setText(outsat.OutSatTemp + "");
                txtSt.setText(outsat.OutSvpTs + "");
                
                System.out.println(tmp);
                txtStdf0.setText(tmp.OutSvpTdf0 + "");
                txtSts.setText(tmp.OutSvpTs0 + "");
                txtStti0.setText(tmp.OutSvpTti0 + "");
                txtSttw0.setText(tmp.OutSvpTtw0 + "");
                txtFtsps.setText(tmp.OutFTtPs + "");
                txtFttpti.setText(tmp.OutFTtPti + "");
                txtFttptw.setText(tmp.OutFTtPtw + "");
                txtFtdfpt.setText(tmp.OutFTtdfp + "");

            }
            if (jb == btWrite) {
                if (HxCalc.instance.getUtils().getFileName() != null) {
                    writeOutput(HxCalc.instance.getUtils().getFileName());
                } else {
                    if (checkInOutFiles(AppDefaults.appdir)) {

                        writeOutput(new File(AppDefaults.appdir + AppDefaults.PATH_SEPARATOR + "inoutfile" + AppDefaults.PATH_SEPARATOR
                                + "output.csv"));
                    }
                }


            }
        }
    }

    private void writeOutput(File file) {
        List<String> values = new ArrayList<String>();

        CSVReaderWriter writertemp = new CSVReaderWriter(file, '\t');
        writertemp.writeCSV();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd HH:mm:ss");
        //Date date=formatter.parse();
        String s = formatter.format(new Date());
        values.add(s);
        values.add("1");
        values.add("ok");

        values.add(txtTemp.getText());
        values.add(txtTPre.getText());
        values.add(txtRHum.getText());
        values.add(txtRHumW.getText());
        values.add(txtDew.getText());
        values.add(txtFrost.getText());
        values.add(txtWetBulb.getText());
        values.add(txtSHum.getText());
        values.add(txtAbHum.getText());
        values.add(txtEnt.getText());

        values.add(txtMrv.getText());
        values.add(txtMrw.getText());
        values.add(txtVv.getText());
        values.add(txtVw.getText());
        values.add(txtVmf.getText());
        values.add(txtDamf.getText());
        values.add(txtDd.getText());
        values.add(txtMad.getText());
        values.add(txtSp.getText());
        values.add(txtSt.getText());


        values.add(txtSttw0.getText());
        values.add(txtStti0.getText());
        values.add(txtStdf0.getText());
        values.add(txtStdf.getText());
        values.add(txtSts.getText());
        values.add(txtSttw.getText());
        values.add(txtStti.getText());
        values.add(txtFttptw.getText());
        values.add(txtFttpti.getText());
        values.add(txtFtdfpt.getText());
        values.add(txtFtsps.getText());



        writertemp.writeCSV(values);
        writertemp.close();


    }

    private boolean checkInOutFiles(String fileLocation) {
        try {
            File f = new File(fileLocation + AppDefaults.PATH_SEPARATOR + "inoutfile");
            if (!f.exists()) {
                if (!f.mkdirs()) {
                    return false;
                }
            }


            return true;
        } catch (Exception e) {
            return false;
        }
    }

    public class TextBoxFocusHandler extends FocusAdapter {

        @Override
        public void focusLost(FocusEvent e) {
            JTextField textField = (JTextField) e.getSource();

            if (textField == txtTemp) {
                s = txtTemp.getText();
                if (!s.isEmpty()) {
                    unitFrom = cmbTemp.getSelectedIndex();
                    unitValue = conversion.convertSIUnit(s, unitFrom);
                    if (unitValue > 373.15) {
                        lbTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else if (unitValue < -223.15) {
                        lbTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else {
                        lbTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png")));
                    }
                }


            }
            if (textField == txtPre) {
                s = txtPre.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbPre);
                }

            }
            if (textField == txtHum) {
                s = txtHum.getText();

                if (!s.isEmpty()) {
                    unitConversion();
                }
            }
            if (textField == txtSPre) {
                s = txtSPre.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbSPre);
                }

            }
            if (textField == txtTPre) {
                s = txtTPre.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbTPre);
                }

            }

            if (textField == txtTTemp) {
                s = txtTTemp.getText();
                if (!s.isEmpty()) {
                    unitFrom = cmbTTemp.getSelectedIndex();
                    unitValue = conversion.convertSIUnit(s, unitFrom);
                    if (unitValue > 373.15) {
                        lbTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else if (unitValue < -223.15) {
                        lbTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else {
                        lbTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png")));
                    }
                }
            }
            //
            if (textField == txtSttw0) {
                s = txtSttw0.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbSttw0);
                }

            }
            if (textField == txtStti0) {
                s = txtStti0.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbStti0);
                }

            }
            if (textField == txtStdf0) {
                s = txtStdf0.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbStdf0);
                }

            }
            if (textField == txtStdf) {
                s = txtStdf.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbStdf);
                }

            }
            if (textField == txtSts) {
                s = txtSts.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbSts);
                }

            }
            if (textField == txtSttw) {
                s = txtSttw.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbSttw);
                }

            }
            if (textField == txtStti) {
                s = txtStti.getText();
                if (!s.isEmpty()) {
                    unitConversionPre(cmbStti);
                }

            }
            if (textField == txtMrv) {
                s = txtMrv.getText();
                if (!s.isEmpty()) {
                    unitConversionRatio(cmbMrv);
                }

            }
            if (textField == txtMrw) {
                s = txtMrw.getText();
                if (!s.isEmpty()) {
                    unitConversionRatio(cmbMrw);
                }

            }
            if (textField == txtVv) {
                s = txtVv.getText();
                if (!s.isEmpty()) {
                    unitConversionRatio(cmbVv);
                }

            }
            if (textField == txtVw) {
                s = txtVw.getText();
                if (!s.isEmpty()) {
                    unitConversionRatio(cmbVw);
                }

            }
            if (textField == txtDd) {
                s = txtDd.getText();
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) / Double.valueOf(Unit.preUnitValue[cmbDd.getSelectedIndex()]);
                    s = "" + s1;
                }

            }
            if (textField == txtMad) {
                s = txtMad.getText();
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) / Double.valueOf(Unit.preUnitValue[cmbMad.getSelectedIndex()]);
                    s = "" + s1;
                }

            }
            if (textField == txtAbHum) {
                s = txtAbHum.getText();
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) / Double.valueOf(Unit.preUnitValue[cmbAbHum.getSelectedIndex()]);
                    s = "" + s1;
                }

            }

            if (textField == txtVmf) {
                s = txtVmf.getText();
                if (!s.isEmpty()) {
                    unitConversionRatio(cmbVmf);
                }

            }
            if (textField == txtDamf) {
                s = txtDamf.getText();
                if (!s.isEmpty()) {
                    unitConversionRatio(cmbDamf);
                }

            }
            if (textField == txtSTemp) {
                s = txtSTemp.getText();
                if (!s.isEmpty()) {
                    unitFrom = cmbSTemp.getSelectedIndex();
                    unitValue = conversion.convertSIUnit(s, unitFrom);
                    if (unitValue > 373.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else if (unitValue < -223.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png")));
                    }
                }

            }
            if (textField == txtDew) {
                s = txtDew.getText();
                if (!s.isEmpty()) {
                    unitFrom = cmbDew.getSelectedIndex();
                    unitValue = conversion.convertSIUnit(s, unitFrom);
                    if (unitValue > 373.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else if (unitValue < -223.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png")));
                    }
                }

            }
            if (textField == txtFrost) {
                s = txtFrost.getText();
                if (!s.isEmpty()) {
                    unitFrom = cmbFrost.getSelectedIndex();
                    unitValue = conversion.convertSIUnit(s, unitFrom);
                    if (unitValue > 373.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else if (unitValue < -223.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png")));
                    }
                }

            }
            if (textField == txtWetBulb) {
                s = txtWetBulb.getText();
                if (!s.isEmpty()) {
                    unitFrom = cmbWetBulb.getSelectedIndex();
                    unitValue = conversion.convertSIUnit(s, unitFrom);
                    if (unitValue > 373.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else if (unitValue < -223.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png")));
                    }
                }

            }
            if (textField == txtSt) {
                s = txtSt.getText();
                if (!s.isEmpty()) {
                    unitFrom = cmbSt.getSelectedIndex();
                    unitValue = conversion.convertSIUnit(s, unitFrom);
                    if (unitValue > 373.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else if (unitValue < -223.15) {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/wrong.png")));
                    } else {
                        lbSTemp.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/right.png")));
                    }
                }

            }

        }
    }

    private void unitConversionPre(JComboBox cmb) {
        Double s1 = Double.valueOf(s) / Double.valueOf(Unit.preUnitValue[cmb.getSelectedIndex()]);
        s = "" + s1;
    }

    private void unitConversionRatio(JComboBox cmb) {
        Double s1 = Double.valueOf(s) / Double.valueOf(Unit.preUnitValue[cmb.getSelectedIndex()]);
        s = "" + s1;
    }

    private void unitConversion() {

        Double s1 = Double.valueOf(s) / Double.valueOf(unitFactor[cmbHum.getSelectedIndex()]);
        s = "" + s1;
        System.out.println(s);

    }

    private String tempUnitConversion(String str, int index, JComboBox cmb) {
        String temp = null;
        Double s1 = Double.valueOf(s);
        switch (cmb.getSelectedIndex()) {
            case 0:
                temp = "" + s1;
                break;
            case 1:

                temp = "" + (s1 - 273.15);
                break;
            case 2:
                temp = "" + (s1 * 9 / 5 - 459.69);
                break;
        }
        return temp;
    }

    /**
     * See if a String is empty
     */
    private boolean isTextBoxEmpty(String empty) {
        if (!empty.isEmpty()) {
            return true;
        } else {
            return false;
        }
    }

    /*
     * Event Handling class for Combobox
     */
    class ComboBoxItemHandler implements ItemListener {

        @Override
        public void itemStateChanged(ItemEvent event) {
            JComboBox comboBox = (JComboBox) event.getSource();
            if (comboBox == cmbTemp) {
                setToolTips(cmbTemp, toolTipsTemp);
                if (!s.isEmpty()) {
                    DecimalFormat df1 = new DecimalFormat("###.00");
                    txtTemp.setText(df1.format(conversion.convertUnit(unitValue, cmbTemp.getSelectedIndex())));
                }


            }
            if (comboBox == cmbPre) {
                setToolTips(cmbPre, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbPre.getSelectedIndex()]);

                    txtPre.setText("" + s1);
                }

            }
            if (comboBox == cmbUsed) {

                int index = cmbUsed.getSelectedIndex();

                switch (index) {
                    case 0:

                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.HRUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsRH));
                        setToolTips(cmbHum, toolTipsRH);
                        unitFactor = Unit.HRUnitValue;

                        break;
                    case 1:
                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.ratioUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsRatio));
                        setToolTips(cmbHum, toolTipsRatio);
                        unitFactor = Unit.ratioUnitValue;
                        break;
                    case 2:
                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.ratioUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsRatio));
                        setToolTips(cmbHum, toolTipsRatio);
                        unitFactor = Unit.ratioUnitValue;
                        break;
                    case 3:
                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.tempUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsTemp));
                        setToolTips(cmbHum, toolTipsTemp);
                        unitFactor = Unit.tempUnitValue;
                        break;
                    case 4:
                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.tempUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsTemp));
                        setToolTips(cmbHum, toolTipsTemp);
                        unitFactor = Unit.tempUnitValue;
                        break;
                    case 5:
                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.tempUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsTemp));
                        setToolTips(cmbHum, toolTipsTemp);
                        unitFactor = Unit.tempUnitValue;
                        break;

                    case 6:
                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.ratioUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsRatio));
                        setToolTips(cmbHum, toolTipsRatio);
                        unitFactor = Unit.ratioUnitValue;
                        break;
                    case 7:
                        cmbHum.setModel(new javax.swing.DefaultComboBoxModel(Unit.ratioUnit));
                        cmbHum.setRenderer(new ComboBoxRenderer(toolTipsRatio));
                        setToolTips(cmbHum, toolTipsRatio);
                        unitFactor = Unit.ratioUnitValue;
                        break;
                }

            }
            if (comboBox == cmbHum) {
                int index = cmbUsed.getSelectedIndex();
                switch (index) {
                    case 0:

                        setToolTips(cmbHum, toolTipsRH);
                        break;
                    case 1:

                        setToolTips(cmbHum, toolTipsRatio);
                        break;
                    case 2:
                        setToolTips(cmbHum, toolTipsRatio);
                        break;
                    case 3:
                        setToolTips(cmbHum, toolTipsTemp);
                        break;
                    case 4:
                        setToolTips(cmbHum, toolTipsTemp);
                        break;
                    case 5:
                        setToolTips(cmbHum, toolTipsTemp);
                        break;
                    case 6:
                        setToolTips(cmbHum, toolTipsRatio);
                        break;
                    case 7:
                        setToolTips(cmbHum, toolTipsRatio);
                        break;
                }
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(unitFactor[cmbHum.getSelectedIndex()]);

                    txtHum.setText("" + s1);
                }
            }
            /*
             * if (comboBox == cmbExtended) {
             * switch(cmbExtended.getSelectedIndex()) { case 0:
             * txtSTemp.setEnabled(false); cmbSTemp.setEnabled(false);
             * txtSPre.setEnabled(false); cmbSPre.setEnabled(false);
             * lbMsg.setText(""); break;
             *
             *
             * case 1: txtSTemp.setEnabled(true); cmbSTemp.setEnabled(true);
             * txtSPre.setEnabled(true); cmbSPre.setEnabled(true);
             * lbMsg.setText(tr("Use Extended Mode")); break; } }
             *///This combo box used for extend first time now use radio box for that.
            if (comboBox == cmbSTemp) {
                setToolTips(cmbSTemp, toolTipsTemp);
                if (!s.isEmpty()) {
                    DecimalFormat df1 = new DecimalFormat("###.00");
                    txtSTemp.setText(df1.format(conversion.convertUnit(unitValue, cmbSTemp.getSelectedIndex())));
                }
            }
            if (comboBox == cmbSPre) {
                setToolTips(cmbSPre, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbSPre.getSelectedIndex()]);

                    txtSPre.setText("" + s1);
                }
            }
            if (comboBox == cmbTTemp) {
                setToolTips(cmbTTemp, toolTipsTemp);
                if (!s.isEmpty()) {
                    DecimalFormat df1 = new DecimalFormat("###.00");
                    txtTTemp.setText(df1.format(conversion.convertUnit(unitValue, cmbTTemp.getSelectedIndex())));
                }
            }
            if (comboBox == cmbTPre) {
                setToolTips(cmbTPre, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbTPre.getSelectedIndex()]);

                    txtTPre.setText("" + s1);
                }
            }
            if (comboBox == cmbRHum) {
                setToolTips(cmbRHum, toolTipsRH);
            }
            if (comboBox == cmbRHumW) {
                setToolTips(cmbRHumW, toolTipsRH);
            }
            if (comboBox == cmbDew) {
                setToolTips(cmbDew, toolTipsTemp);
                if (!s.isEmpty()) {
                    DecimalFormat df1 = new DecimalFormat("###.00");
                    txtDew.setText(df1.format(conversion.convertUnit(unitValue, cmbDew.getSelectedIndex())));
                }
            }
            if (comboBox == cmbFrost) {
                setToolTips(cmbFrost, toolTipsTemp);
                if (!s.isEmpty()) {
                    DecimalFormat df1 = new DecimalFormat("###.00");
                    txtFrost.setText(df1.format(conversion.convertUnit(unitValue, cmbFrost.getSelectedIndex())));
                }
            }
            if (comboBox == cmbWetBulb) {
                setToolTips(cmbWetBulb, toolTipsTemp);
                if (!s.isEmpty()) {
                    DecimalFormat df1 = new DecimalFormat("###.00");
                    txtWetBulb.setText(df1.format(conversion.convertUnit(unitValue, cmbWetBulb.getSelectedIndex())));
                }
            }
            if (comboBox == cmbSHum) {
                setToolTips(cmbSHum, toolTipsSHumidity);
            }
            if (comboBox == cmbAbHum) {
                setToolTips(cmbAbHum, toolTipsDensity);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.densityUnitValue[cmbAbHum.getSelectedIndex()]);

                    txtAbHum.setText("" + s1);
                }
            }
            if (comboBox == cmbEnt) {
                setToolTips(cmbEnt, toolTipsEnthalphy);
            }
            if (comboBox == cmbMrv) {
                setToolTips(cmbMrv, toolTipsRatio);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.ratioUnitValue[cmbMrv.getSelectedIndex()]);

                    txtMrv.setText("" + s1);
                }
            }
            if (comboBox == cmbMrw) {
                setToolTips(cmbMrw, toolTipsRatio);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.ratioUnitValue[cmbMrw.getSelectedIndex()]);

                    txtMrw.setText("" + s1);
                }
            }
            if (comboBox == cmbVv) {
                setToolTips(cmbVv, toolTipsRatio);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.ratioUnitValue[cmbVv.getSelectedIndex()]);

                    txtVv.setText("" + s1);
                }
            }
            if (comboBox == cmbVw) {
                setToolTips(cmbVw, toolTipsRatio);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.ratioUnitValue[cmbVw.getSelectedIndex()]);

                    txtVw.setText("" + s1);
                }
            }
            if (comboBox == cmbVmf) {
                setToolTips(cmbVmf, toolTipsRatio);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.ratioUnitValue[cmbVmf.getSelectedIndex()]);

                    txtVmf.setText("" + s1);
                }
            }
            if (comboBox == cmbDamf) {
                setToolTips(cmbDamf, toolTipsRatio);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.ratioUnitValue[cmbDamf.getSelectedIndex()]);

                    txtDamf.setText("" + s1);
                }
            }
            if (comboBox == cmbDd) {
                setToolTips(cmbDd, toolTipsDensity);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.densityUnitValue[cmbDd.getSelectedIndex()]);

                    txtDd.setText("" + s1);
                }
            }
            if (comboBox == cmbMad) {
                setToolTips(cmbMad, toolTipsDensity);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.densityUnitValue[cmbMad.getSelectedIndex()]);

                    txtMad.setText("" + s1);
                }
            }
            if (comboBox == cmbSp) {
                setToolTips(cmbSp, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbSp.getSelectedIndex()]);

                    txtSp.setText("" + s1);
                }
            }
            if (comboBox == cmbSt) {
                setToolTips(cmbSt, toolTipsTemp);
                if (!s.isEmpty()) {
                    DecimalFormat df1 = new DecimalFormat("###.00");
                    txtSt.setText(df1.format(conversion.convertUnit(unitValue, cmbSt.getSelectedIndex())));
                }
            }
            if (comboBox == cmbSttw0) {
                setToolTips(cmbSttw0, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbSttw0.getSelectedIndex()]);

                    txtSttw0.setText("" + s1);
                }
            }
            if (comboBox == cmbStti0) {
                setToolTips(cmbStti0, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbStti0.getSelectedIndex()]);

                    txtStti0.setText("" + s1);
                }
            }
            if (comboBox == cmbStdf0) {
                setToolTips(cmbStdf0, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbStdf0.getSelectedIndex()]);

                    txtStdf0.setText("" + s1);
                }
            }
            if (comboBox == cmbStdf) {
                setToolTips(cmbStdf, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbStdf.getSelectedIndex()]);

                    txtStdf.setText("" + s1);
                }
            }
            if (comboBox == cmbSts) {
                setToolTips(cmbSts, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbSts.getSelectedIndex()]);

                    txtSts.setText("" + s1);
                }
            }
            if (comboBox == cmbSttw) {
                setToolTips(cmbSttw, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbSttw.getSelectedIndex()]);

                    txtSttw.setText("" + s1);
                }
            }
            if (comboBox == cmbStti) {
                setToolTips(cmbStti, toolTipsPressure);
                if (!s.isEmpty()) {
                    Double s1 = Double.valueOf(s) * Double.valueOf(Unit.preUnitValue[cmbStti.getSelectedIndex()]);

                    txtStti.setText("" + s1);
                }
            }

        }
    }

    /**
     * The ComboBox items tool tips are shown using this class
     *
     */
    class ComboBoxRenderer extends BasicComboBoxRenderer {

        String[] temp1 = null;

        public ComboBoxRenderer(String[] temp) {
            temp1 = temp;
        }

        @Override
        public Component getListCellRendererComponent(JList list, Object value,
                int index, boolean isSelected, boolean cellHasFocus) {
            if (isSelected) {
                setBackground(list.getSelectionBackground());
                setForeground(list.getSelectionForeground());
                if (-1 < index) {
                    list.setToolTipText(temp1[index]);
                }
            } else {
                setBackground(list.getBackground());
                setForeground(list.getForeground());
            }
            setFont(list.getFont());
            setText((value == null) ? "" : value.toString());

            return this;
        }
    }

    private class RadioButtonHandler implements ItemListener {

        public void itemStateChanged(ItemEvent e) {
            if (e.getSource() == rdYes) {
                txtSTemp.setEnabled(true);
                cmbSTemp.setEnabled(true);
                txtSPre.setEnabled(true);
                cmbSPre.setEnabled(true);
                lbMsg.setText(tr("Use Extended Mode"));

            } else if (e.getSource() == rdNo) {
                txtSTemp.setEnabled(false);
                cmbSTemp.setEnabled(false);
                txtSPre.setEnabled(false);
                cmbSPre.setEnabled(false);
                lbMsg.setText(tr("normal mode"));
            }
        }
    }
    private void cmbGasItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_cmbGasItemStateChanged
        int index = cmbGas.getSelectedIndex();
        double[] gasValue = GasValue.getGase(index);
        if (index == 10) {
            txtMassMolar.setText("");
            txtCap.setText("");
            txtBoil.setText("");
            txtMassMolar.setEnabled(true);
            txtCap.setEnabled(true);
            txtBoil.setEnabled(true);
            cmbCap.setEnabled(true);
            cmbBoil.setEnabled(true);
        } else {
            txtMassMolar.setEnabled(false);
            txtCap.setEnabled(false);
            txtBoil.setEnabled(false);
            cmbCap.setEnabled(false);
            cmbBoil.setEnabled(false);
            txtMassMolar.setText("" + gasValue[0]);
            txtCap.setText("" + gasValue[1]);
            txtBoil.setText("" + gasValue[2]);
        }

    }//GEN-LAST:event_cmbGasItemStateChanged

    private void jLabel15MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel15MouseClicked

        if (Desktop.isDesktopSupported()) {
            Desktop desktop = Desktop.getDesktop();
            try {
                URI uri = new URI("mailto:support@beko.de?subject=Test");
                desktop.browse(uri);
            } catch (IOException ex) {
                // do nothing
            } catch (URISyntaxException ex) {
                //do nothing
            }
        } else {
            //do nothing
        }
    }//GEN-LAST:event_jLabel15MouseClicked

    private void jLabel13MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabel13MouseClicked
        if (Desktop.isDesktopSupported()) {
            Desktop desktop = Desktop.getDesktop();
            try {
                URI uri = new URI("http://www.beko.de/");
                desktop.browse(uri);
            } catch (IOException ex) {
                // do nothing
            } catch (URISyntaxException ex) {
                //do nothing
            }
        } else {
            //do nothing
        }
    }//GEN-LAST:event_jLabel13MouseClicked

    /**
     *
     */
    private void setAllToolTips() {

        setToolTips(cmbPre, toolTipsPressure);
        setToolTips(cmbTemp, toolTipsTemp);
        setToolTips(cmbHum, toolTipsRH);
        setToolTips(cmbSTemp, toolTipsTemp);
        setToolTips(cmbSPre, toolTipsPressure);
        setToolTips(cmbTTemp, toolTipsTemp);
        setToolTips(cmbTPre, toolTipsPressure);
        setToolTips(cmbRHum, toolTipsRH);
        setToolTips(cmbRHumW, toolTipsRH);
        setToolTips(cmbDew, toolTipsTemp);
        setToolTips(cmbFrost, toolTipsTemp);
        setToolTips(cmbWetBulb, toolTipsTemp);
        setToolTips(cmbSHum, toolTipsSHumidity);
        setToolTips(cmbAbHum, toolTipsDensity);
        setToolTips(cmbEnt, toolTipsEnthalphy);
        setToolTips(cmbMrv, toolTipsRatio);
        setToolTips(cmbMrw, toolTipsRatio);
        setToolTips(cmbVv, toolTipsRatio);
        setToolTips(cmbVw, toolTipsRatio);
        setToolTips(cmbVmf, toolTipsRatio);
        setToolTips(cmbDamf, toolTipsRatio);
        setToolTips(cmbDd, toolTipsDensity);
        setToolTips(cmbMad, toolTipsDensity);
        setToolTips(cmbSp, toolTipsPressure);
        setToolTips(cmbSt, toolTipsTemp);
        setToolTips(cmbSttw0, toolTipsPressure);
        setToolTips(cmbStti0, toolTipsPressure);
        setToolTips(cmbStdf0, toolTipsPressure);
        setToolTips(cmbStdf, toolTipsPressure);
        setToolTips(cmbSts, toolTipsPressure);
        setToolTips(cmbSttw, toolTipsPressure);
        setToolTips(cmbStti, toolTipsPressure);

    }

    private void setToolTips(JComboBox cmb, String[] tips) {
        cmb.setToolTipText(tips[cmb.getSelectedIndex()]);
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    javax.swing.JButton btCalculate;
    private javax.swing.JButton btWrite;
    private javax.swing.ButtonGroup btgExtended;
    private javax.swing.ButtonGroup btgInput;
    private javax.swing.ButtonGroup btgOutput;
    private javax.swing.JComboBox cmbAbHum;
    javax.swing.JComboBox cmbBoil;
    javax.swing.JComboBox cmbCap;
    javax.swing.JComboBox cmbDamf;
    javax.swing.JComboBox cmbDd;
    javax.swing.JComboBox cmbDew;
    javax.swing.JComboBox cmbEnt;
    javax.swing.JComboBox cmbFrost;
    javax.swing.JComboBox cmbGas;
    javax.swing.JComboBox cmbHum;
    javax.swing.JComboBox cmbMad;
    javax.swing.JComboBox cmbMrv;
    javax.swing.JComboBox cmbMrw;
    javax.swing.JComboBox cmbPre;
    javax.swing.JComboBox cmbRHum;
    javax.swing.JComboBox cmbRHumW;
    javax.swing.JComboBox cmbSHum;
    javax.swing.JComboBox cmbSPre;
    javax.swing.JComboBox cmbSTemp;
    javax.swing.JComboBox cmbSp;
    javax.swing.JComboBox cmbSt;
    javax.swing.JComboBox cmbStdf;
    javax.swing.JComboBox cmbStdf0;
    javax.swing.JComboBox cmbSts;
    javax.swing.JComboBox cmbStti;
    javax.swing.JComboBox cmbStti0;
    javax.swing.JComboBox cmbSttw;
    javax.swing.JComboBox cmbSttw0;
    javax.swing.JComboBox cmbTPre;
    javax.swing.JComboBox cmbTTemp;
    javax.swing.JComboBox cmbTemp;
    javax.swing.JComboBox cmbUsed;
    javax.swing.JComboBox cmbVmf;
    javax.swing.JComboBox cmbVv;
    javax.swing.JComboBox cmbVw;
    javax.swing.JComboBox cmbWetBulb;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel100;
    private javax.swing.JLabel jLabel102;
    private javax.swing.JLabel jLabel103;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel117;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel128;
    private javax.swing.JLabel jLabel129;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel130;
    private javax.swing.JLabel jLabel131;
    private javax.swing.JLabel jLabel132;
    private javax.swing.JLabel jLabel133;
    private javax.swing.JLabel jLabel134;
    private javax.swing.JLabel jLabel135;
    private javax.swing.JLabel jLabel136;
    private javax.swing.JLabel jLabel137;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel156;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel64;
    private javax.swing.JLabel jLabel65;
    private javax.swing.JLabel jLabel66;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel69;
    private javax.swing.JLabel jLabel70;
    private javax.swing.JLabel jLabel72;
    private javax.swing.JLabel jLabel73;
    private javax.swing.JLabel jLabel74;
    private javax.swing.JLabel jLabel75;
    private javax.swing.JLabel jLabel77;
    private javax.swing.JLabel jLabel78;
    private javax.swing.JLabel jLabel79;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jpExtended;
    private javax.swing.JPanel jpGas;
    public javax.swing.JPanel jpInput;
    private javax.swing.JPanel jpOut1;
    private javax.swing.JPanel jpOut2;
    private javax.swing.JPanel jpOut3;
    private javax.swing.JLabel lb1;
    private javax.swing.JLabel lb10;
    private javax.swing.JLabel lb11;
    private javax.swing.JLabel lb12;
    private javax.swing.JLabel lb13;
    private javax.swing.JLabel lb14;
    private javax.swing.JLabel lb15;
    private javax.swing.JLabel lb16;
    private javax.swing.JLabel lb17;
    private javax.swing.JLabel lb18;
    private javax.swing.JLabel lb19;
    private javax.swing.JLabel lb2;
    private javax.swing.JLabel lb20;
    private javax.swing.JLabel lb21;
    private javax.swing.JLabel lb22;
    private javax.swing.JLabel lb23;
    private javax.swing.JLabel lb24;
    private javax.swing.JLabel lb25;
    private javax.swing.JLabel lb26;
    private javax.swing.JLabel lb27;
    private javax.swing.JLabel lb28;
    private javax.swing.JLabel lb29;
    private javax.swing.JLabel lb3;
    private javax.swing.JLabel lb30;
    private javax.swing.JLabel lb31;
    private javax.swing.JLabel lb32;
    private javax.swing.JLabel lb33;
    private javax.swing.JLabel lb34;
    private javax.swing.JLabel lb35;
    private javax.swing.JLabel lb36;
    private javax.swing.JLabel lb37;
    private javax.swing.JLabel lb38;
    private javax.swing.JLabel lb39;
    private javax.swing.JLabel lb4;
    private javax.swing.JLabel lb40;
    private javax.swing.JLabel lb41;
    private javax.swing.JLabel lb42;
    private javax.swing.JLabel lb43;
    private javax.swing.JLabel lb44;
    private javax.swing.JLabel lb45;
    private javax.swing.JLabel lb46;
    private javax.swing.JLabel lb47;
    private javax.swing.JLabel lb48;
    private javax.swing.JLabel lb49;
    private javax.swing.JLabel lb5;
    private javax.swing.JLabel lb50;
    private javax.swing.JLabel lb51;
    private javax.swing.JLabel lb52;
    private javax.swing.JLabel lb53;
    private javax.swing.JLabel lb54;
    private javax.swing.JLabel lb55;
    private javax.swing.JLabel lb56;
    private javax.swing.JLabel lb57;
    private javax.swing.JLabel lb58;
    private javax.swing.JLabel lb59;
    private javax.swing.JLabel lb6;
    private javax.swing.JLabel lb60;
    private javax.swing.JLabel lb7;
    private javax.swing.JLabel lb8;
    private javax.swing.JLabel lb9;
    private javax.swing.JLabel lbBoil;
    private javax.swing.JLabel lbCap;
    private javax.swing.JLabel lbHum;
    private javax.swing.JLabel lbMsg;
    private javax.swing.JLabel lbPre;
    private javax.swing.JLabel lbSPre;
    private javax.swing.JLabel lbSTemp;
    private javax.swing.JLabel lbTemp;
    javax.swing.JRadioButton rdIce;
    public javax.swing.JRadioButton rdNo;
    javax.swing.JRadioButton rdOIce;
    javax.swing.JRadioButton rdOWater;
    javax.swing.JRadioButton rdWater;
    public javax.swing.JRadioButton rdYes;
    javax.swing.JTextField txtAbHum;
    javax.swing.JTextField txtBoil;
    javax.swing.JTextField txtCap;
    javax.swing.JTextField txtDamf;
    javax.swing.JTextField txtDd;
    private javax.swing.JTextField txtDew;
    private javax.swing.JTextField txtEnt;
    private javax.swing.JTextField txtFrost;
    private javax.swing.JTextField txtFtdfpt;
    private javax.swing.JTextField txtFtsps;
    private javax.swing.JTextField txtFttpti;
    private javax.swing.JTextField txtFttptw;
    javax.swing.JTextField txtHum;
    private javax.swing.JTextField txtMad;
    javax.swing.JTextField txtMassMolar;
    private javax.swing.JTextField txtMrv;
    private javax.swing.JTextField txtMrw;
    public javax.swing.JTextField txtPre;
    private javax.swing.JTextField txtRHum;
    private javax.swing.JTextField txtRHumW;
    private javax.swing.JTextField txtSHum;
    javax.swing.JTextField txtSPre;
    javax.swing.JTextField txtSTemp;
    private javax.swing.JTextField txtSp;
    private javax.swing.JTextField txtSt;
    private javax.swing.JTextField txtStdf;
    private javax.swing.JTextField txtStdf0;
    private javax.swing.JTextField txtSts;
    private javax.swing.JTextField txtStti;
    private javax.swing.JTextField txtStti0;
    private javax.swing.JTextField txtSttw;
    private javax.swing.JTextField txtSttw0;
    private javax.swing.JTextField txtTPre;
    private javax.swing.JTextField txtTTemp;
    javax.swing.JTextField txtTemp;
    private javax.swing.JTextField txtVmf;
    private javax.swing.JTextField txtVv;
    private javax.swing.JTextField txtVw;
    private javax.swing.JTextField txtWetBulb;
    // End of variables declaration//GEN-END:variables
    ToolTipsAndUnit toolTipsUnit;
    String[] toolTipsPressure;
    String[] toolTipsTemp;
    String[] toolTipsRatio;
    String[] toolTipsRH;
    String[] toolTipsEnthalphy;
    String[] toolTipsDensity;
    String[] toolTipsSHumidity;
    String[] extendedModel;
    String[] gasList;
    String[] humidityUnit;
}
